'Declaration Public Overloads Function AttachView(Of TResult)( _ ByVal subqueryId As Object, _ ByVal selector As Func(Of View(Of T),View(Of TResult)) _ ) As View(Of TResult)
public View<TResult> AttachView<TResult>( object subqueryId, Func<View<T>,View<TResult>> selector )
Parameters
- subqueryId
- A string uniquely specifying this subquery in the view to which it is attached. Can be any string. The only requirement is that different subqueries attached to the same view, if such exist, must have different subquery ids.
- selector
- A function to obtain the attached subview from the view to which it is attached.
Type Parameters
- TResult
- The type of the elements in the subquery view.
Return Value
The attached subview.